package com.zwr.sheller.customer.Service;

import com.zwr.sheller.core.common.WDMBusinessException;
import com.zwr.sheller.core.pojo.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {

    ShoppingCart  selectShoppingCart(Integer userId) throws WDMBusinessException;
    void updateShoppingCartSkuNum(Integer userId , Long skuId ,Integer num);
       Boolean     addShoppingCart(Integer userId, Long skuId,Integer num) throws WDMBusinessException;
      void    deleteShoppingCart(Integer userId, List<Long> skuIds);
      Boolean cleanShoppingCart(Integer userId) throws WDMBusinessException;
}
